import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import axios from 'axios'
import "./assets/style/reset.scss";
Vue.config.productionTip = false

// 一下都是挂载到Vue的原型中，所有的组件都能应用
// axios
Vue.prototype.$http = axios
    // 导入头部公共组件
import headertop from "./common/Header"
Vue.component("head-view", headertop);
// 导入底部组件
import footer from "./common/footer"
Vue.component("footer-view", footer);

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')